@model SmartParking.Web.Models.UserProfileModel

@using (Html.BeginForm()) {
    <ul data-role="listview" data-inset="true">
        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.Email)
            @Html.TextBoxFor(m => m.Email, new { type = "email" } )
        </li>
        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.Password)
            @Html.TextBoxFor(m => m.Password, new { type = "password" } )
        </li>
        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.Name)
            @Html.TextBoxFor(m => m.Name)
        </li>
        <li data-role="fieldcontain">
            @Html.LabelFor(m => m.LastName)
            @Html.TextBoxFor(m => m.LastName)
        </li>
    </ul>
    @Html.LabelFor(m => m.Email)
    @Html.TextBoxFor(m => m.Email, new { type = "email" } )

    @Html.LabelFor(m => m.Password)
    @Html.TextBoxFor(m => m.Password, new { type = "password" } )

    @Html.LabelFor(m => m.Name)
    @Html.TextBoxFor(m => m.Name)

    @Html.LabelFor(m => m.LastName)
    @Html.TextBoxFor(m => m.LastName)
        
    @Html.LabelFor(m => m.ReceiveInfo)
    @Html.CheckBoxFor(m => m.ReceiveInfo, new { @checked = "checked" } )
    <br />
    <input type="submit" value="@ViewBag.SubmitButtonText">
    <br />
    <br />
    @Html.ValidationSummary(true)
}
